// 模拟支付API数据
export const mockOrderList = [
  {
    id: 1,
    merchantOrderNo: 'WXN1761303991996380554',
    wechatOrderNo: '4200002891202510243005454922',
    alipayOrderNo: '',
    productDesc: '测试视频91',
    amount: 0.1,
    status: 'success',
    payTime: '2025-10-24 01:43:44',
    createTime: '2025-10-24 19:06:33'
  },
  {
    id: 2,
    merchantOrderNo: 'video_2_1761241409674',
    wechatOrderNo: '',
    alipayOrderNo: '',
    productDesc: '测试视频02',
    amount: 0.01,
    status: 'pending',
    payTime: null,
    createTime: '2025-10-24 18:30:15'
  },
  {
    id: 3,
    merchantOrderNo: 'WXN1761303991996380555',
    wechatOrderNo: '4200002891202510243005454923',
    alipayOrderNo: '',
    productDesc: '12',
    amount: 0.21,
    status: 'success',
    payTime: '2025-10-24 02:15:30',
    createTime: '2025-10-24 20:15:30'
  }
]

export const mockStatistics = {
  basicStats: {
    totalOrders: 55,
    totalAmount: 6.25,
    validOrders: 55,
    validAmount: 6.25,
    invalidOrders: 0,
    invalidAmount: 0
  },
  statusStats: {
    pendingOrders: 10,
    pendingAmount: 0.97,
    successOrders: 45,
    successAmount: 5.28,
    cancelledOrders: 0,
    cancelledAmount: 0,
    closedOrders: 0,
    closedAmount: 0
  },
  refundStats: {
    refundOrders: 0,
    refundAmount: 0,
    totalRefundAmount: 0,
    refundedOrders: 0,
    refundedAmount: 0,
    actualRefundAmount: 0
  },
  timeStats: {
    todayOrders: 37,
    todayAmount: 4.18,
    yesterdayOrders: 18,
    yesterdayAmount: 2.07,
    monthOrders: 404,
    monthAmount: 1193.42,
    lastMonthOrders: 0,
    lastMonthAmount: 0
  }
}

export const mockPaymentMethodData = [
  { name: '微信支付', value: 35 },
  { name: '支付宝支付', value: 20 }
]

export const mockOrderStatusData = {
  categories: ['待支付', '支付成功', '已取消', '已关闭'],
  values: [10, 45, 0, 0]
}

export const mockTrendData = {
  categories: ['昨日', '今日', '上月'],
  orderCounts: [18, 37, 404],
  amounts: [2.07, 4.18, 1193.42]
}
